package scr;

import java.awt.Color;
import java.awt.Container;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;


public class Main {
	
	public static void main(String[] args){
		JFrame frame = new JFrame("Test Frame");
		frame.setSize(400,400);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		Container content = frame.getContentPane();
		content.setBackground(Color.red);
		content.setLayout(new FlowLayout());
		content.add(new JButton("Does Nothing"));
		content.add(new JLabel("Click the X to exit"));
		frame.setVisible(true);
		
		
		
	}
	
}
